package com.team.game.framework.Abstract;

import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Matrix;
import android.graphics.PathMeasure;
import android.graphics.PointF;
import android.graphics.Rect;
import android.graphics.RectF;

public abstract class Boses {

    protected RectF rectDst;
    protected Rect rectSrc;

    protected int sprWidth, sprHeight; //ширина и высота спрайта Boss
    protected int curFrame;
    protected int health, start_hp;
    protected float speed;

    protected Matrix matrix;
    protected PathMeasure[] pathMeasure;
    protected int frame;
    public float time;
    protected float fCounter = 0;
    protected int dead = 0;
    public boolean deadSearch = false;
    protected float destenation;
    protected Bitmap Boss;

    public abstract void drawSprite(Canvas canvas);

    public abstract void updateSprite();

    public abstract void restart();

    public abstract RectF getRect(int mob);

    public abstract void dec(int mob, float kick);

    public abstract PointF getAllPosition(float x, float y, float init, float radius1);

    public abstract void dispose();

}
